package com.example.wx.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/7/7 20:18
 */
@Configuration
@ConfigurationProperties(prefix = "wx.mp")
public class WeChatAccountConfig
{
    private String appId;
    private String secret;

    public WeChatAccountConfig()
    {
    }

    public WeChatAccountConfig(String appId, String secret)
    {
        this.appId = appId;
        this.secret = secret;
    }

    public String getAppId()
    {
        return appId;
    }

    public void setAppId(String appId)
    {
        this.appId = appId;
    }

    public String getSecret()
    {
        return secret;
    }

    public void setSecret(String secret)
    {
        this.secret = secret;
    }
}
